package com.bwie.remote;

import com.bwie.common.domain.User;
import com.bwie.common.result.Result;
import com.bwie.remote.fall.UserRemoteFall;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @className: UserRemote
 * @Description: TODO
 * @version: v1.８.0
 * @author: 刘茂锴
 * @date: 2025/10/2 10:47
 */
@FeignClient(value = "bwie-system",fallbackFactory = UserRemoteFall.class)
public interface UserRemote {
    //根据用户名密码查询用户信息
    @PostMapping("/user/selectUser")
    public Result<User> selectUser(@RequestBody User user);
}
